# coding=utf-8
import pymongo

SUB_YW={"id":"1","desc":"语文"};
SUB_SX={"id":'2',"desc":"数学"}
SUB_YY={"id":'3',"desc":"英语"}
SUB_WL={"id":"4","desc":'物理'}
SUB_HX={"id":'5',"desc":'化学'}
SUB_LS={"id":"6","desc":"历史"}
SUB_ZZSP={"id":'6',"desc":'政治思品'}
SUB_DL={"id":'7',"desc":'地理'}
SUB_SW={"id":'8',"desc":'生物'}



QT_DXT={"id":"1","desc":"单选题"}
QT_XZT={"id":"1","desc":"写作题"}
QT_XDWYD={"id":"1","desc":"现代文阅读"}
QT_WYWYD={"id":"1","desc":"文言文阅读"}
QT_SGJS={"id":"1","desc":"诗歌鉴赏"}
QT_YYBD={"id":"1","desc":"语言表达"}
QT_MZDD={"id":"1","desc":"名著导读"}
QT_MX={"id":"1","desc":"默写"}
QT_SX={"id":"1","desc":"书写"}
QT_PDT={"id":"1","desc":"判断题"}
QT_TKT={"id":"1","desc":"填空题"}
QT_JST={"id":"1","desc":"计算题"}
QT_JDT={"id":"1","desc":"解答题"}
QT_WXTK={"id":"1","desc":"完型填空"}
QT_YDLJ={"id":"1","desc":"阅读理解"}
QT_XZT={"id":"1","desc":"写作题"}
QT_JXZH={"id":"1","desc":"句型转换"}
QT_DCPX={"id":"1","desc":"单词拼写"}
QT_BCJZ={"id":"1","desc":"补充句子"}
QT_FY={"id":"1","desc":"翻译"}
QT_GC={"id":"1","desc":"改错"}
QT_DCZJ={"id":"1","desc":"单词造句"}
QT_XCTK={"id":"1","desc":"选词填空"}
QT_WDT={"id":"1","desc":"问答题"}
QT_TJT={"id":"1","desc":"探究题"}
QT_SYT={"id":"1","desc":"实验题"}
QT_ZTT={"id":"1","desc":"作图题"}
QT_ZHT={"id":"1","desc":"综合题"}
QT_TDT={"id":"1","desc":"推断题"}
QT_XXFXT={"id":"1","desc":"信息分析题"}
QT_BXT={"id":"1","desc":"辨析题"}
QT_BDXXZ={"id":"1","desc":"不定项选择"}
QT_TBT={"id":"1","desc":"填表题"}
QT_LXT={"id":"1","desc":"连线题"}
QT_QTTX={"id":"1","desc":"其他题型"}

SUB_YW["types"]=[QT_DXT,QT_XZT,QT_QTTX,QT_XDWYD,QT_WYWYD,QT_SGJS,QT_YYBD,QT_MZDD,QT_MX,SUB_SX]
SUB_SX["types"]=[QT_DXT,QT_PDT,QT_TKT,QT_XDWYD,QT_JST,QT_JDT]
SUB_YY["types"]=[QT_DXT,QT_WXTK,QT_YDLJ,QT_XZT,QT_QTTX,QT_JXZH,QT_DCPX,QT_BCJZ,QT_FY,QT_GC,QT_DCZJ,QT_XCTK]
SUB_WL["types"]=[QT_DXT,QT_DXT,QT_TKT,QT_WDT,QT_QTTX,QT_TJT,QT_JST,QT_SYT,QT_ZTT,QT_ZHT]
SUB_HX["types"]=[QT_DXT,QT_TKT,QT_WDT,QT_QTTX,QT_TJT,QT_JST,QT_TDT,QT_XXFXT]
SUB_LS["types"]=[QT_DXT,QT_PDT,QT_TKT,QT_WDT,QT_QTTX,QT_TJT,QT_ZHT]
SUB_ZZSP["types"]=[QT_DXT,QT_DXT,QT_PDT,QT_TKT,QT_WDT,QT_QTTX,QT_TJT,QT_BDXXZ,QT_ZHT,QT_BXT]
SUB_DL["types"]=[QT_DXT,QT_PDT,QT_TKT,QT_QTTX,QT_ZHT,QT_TBT,QT_LXT]
SUB_SW["type"]=[QT_DXT,QT_PDT,QT_TKT,QT_QTTX,QT_TJT,QT_ZHT,QT_LXT]


